package de.tum.in.eist.poll.client.widgets.content;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;

/**
 * factory product that is displayed when the User has finished logging in
 * @author aperture
 *
 */
public class MainUI extends Composite implements Content {
	private Widget initialization(){
		VerticalPanel content = new VerticalPanel();
		
		content.add(new HTML("Welcome to the EIST Poll System."));
		return content;
	}
	
	@Override
	public Widget draw() {
		initWidget(initialization());
		return this;
	}

}
